package cz.muni.fi.pa165.rentalofconstructionmachinery.dto;

/**
 *
 * @author Adam Zmrzlý
 */
public class MachineDTO {

    private Long id;
    private String licensePlate;
    private String type;

    public MachineDTO() {
    }

    public MachineDTO(Long id, String licensePlate, String type) {
        this.id = id;
        this.licensePlate = licensePlate;
        this.type = type;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLicensePlate() {
        return licensePlate;
    }

    public void setLicensePlate(String licensePlate) {
        this.licensePlate = licensePlate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Machine: id=" + id + ", licensePlate=" + licensePlate + ", type=" + type;
    }
}
